home *** CD-ROM | disk | FTP | other *** search
- ##########################################################################
- ## SETUP.TG
- # this autorun script is run automatically when WinCron is started.
- # Auto loading scripts load in the following order:
- # Config.tg, (AutoRun.tg), (setup.tg), user.tg
- # Config.tg: This file unconditionally starts on WinCron boot
- # AutoRun.tg: This script will start IF WinCron is started as a service
- # setup.tg: This script (if it exists) will run to finish-up WinCron installation
- # user.tg: This is the user script and never over written by WinCron setup
-
- {
- -name SETUP.TG
- -start
- -action -print Completing WinCron installation...
-
- ##################################################
- ## 3.1 change
- # In version 3.1, we determined we didn't need copies of config.tg and
- # autorun.{tg,tab} in the Scripts directory. In the unlikely event the user has
- # made modifications, we move these files to the Samples directory.
- # It should be noted however, that these files can be replaced
- # during the next WinCron upgrade.
-
- -action -set TG.LAST_ERROR="File moved Okay."
- -action -move "%TG.SCRIPT_DIR%config.tg" "%TG.SAMPLE_SCRIPT_DIR%config.tg"
- -action -print Setup::%TG.LAST_ERROR%
-
- -action -set TG.LAST_ERROR="File moved Okay."
- -action -move "%TG.SCRIPT_DIR%autorun.tg" "%TG.SAMPLE_SCRIPT_DIR%autorun.tg"
- -action -print Setup::%TG.LAST_ERROR%
-
- -action -set TG.LAST_ERROR="File moved Okay."
- -action -move "%TG.SCRIPT_DIR%autorun.tab" "%TG.SAMPLE_SCRIPT_DIR%autorun.tab"
- -action -print Setup::%TG.LAST_ERROR%
-
- ## 3.1 change complete
- ##################################################
-
- -action -print WinCron installation complete.
- -stop
- }
-